package com.changgou.seckill.service;

import com.changgou.seckill.pojo.SeckillGoods;

import java.util.List;

/**
 * @author tu zy
 * @version 1.0
 * @date 2021/7/13 22:08
 */

public interface SeckillGoodsServcie {

    /**
     * 根据时间和秒杀商品ID查询秒杀商品数据
     * @param time
     * @param id
     */
    SeckillGoods one(String time,Long id);

    List<SeckillGoods> list(String time);

}
